<template>
  <common-page :title="`配置（${label}）`" class="type-component-wrap">
    <div slot="header">
      <el-button @click="goBack">返回</el-button>
    </div>
    <List slot="content" :configure-view-id="configureViewId" :label="label"></List>
  </common-page>
</template>

<script>
import List from './components/list'

export default {
  name: 'configure',
  components: {
    List
  },
  props: {
    configureViewId: {
      type: [Number, String],
      default: null
    },
    label: {
      type: String,
      default: null
    },
  },
  data() {
    return {}
  },
  methods: {
    //返回
    goBack() {
      this.$emit('close')
    },
  },
  mounted() {
  }
}
</script>

<style scoped lang="scss">
.common-page-content {
  height: 100%;
}
</style>
